home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / pipeline / fworkz_pro / !Fireworkz / Resource / DateFormat < prev    next >
Encoding:
Text File  |  1994-10-26  |  2.2 KB  |  88 lines

  1. ; > DateFormat
  2.  
  3. ; This file specifies the possible formats of date fields
  4.  
  5. ; The format strings have the following possible qualifiers:
  6. ;
  7. ;       d       day of month as a 1 or 2 digit number
  8. ;       m       month as a 1 or 2 digit number
  9. ;       y       year number as a 1 or 2 digit number (1900 added)
  10. ;       Y       year number as an unsigned integer
  11. ;       a       optional AD / BC qualifier (BC means make year negative)
  12. ;       D       name of day (1st, 2nd, 3rd .. 31st or 1..31 followed by a non-digit)
  13. ;       M       month name as specified in Months field
  14. ;     space     0 or more spaces are allowed here
  15. ;   hard space  exactly one space must appear here
  16. ;   any other   the specified character must appear here
  17. ;
  18. ; The day, month or year can be missed out if there is a corresponding
  19. ; format string without a day, month or year specifier.
  20. ;
  21. ; NB: Spaces in the format are normally optional in the date, with one exception:
  22. ;
  23. ;         When reading a decimal number, the next character must not be
  24. ;         another digit if there is a space in the format.
  25. ;
  26. ;      Thus:    251090    is equivalent to    25th October 1990
  27. ;      But:     Oct2590   is equivalent to         October 2590
  28. ;               Oct25 90  is equivalent to    25th October 1990
  29.  
  30. [ Formats
  31.  
  32.  dmy 
  33.  d m y 
  34.  D M y 
  35.  M D y 
  36.  d m Y a 
  37.  D M Y a 
  38.  M D Y a 
  39.  d/m/y 
  40.  d/m/Y a 
  41.  d.m.y 
  42.  d.m.Y a 
  43.  d-M-y 
  44.  d-M-Y a 
  45.  D 
  46.  M 
  47.  y 
  48.  Y.m.d 
  49.  Y a 
  50.  d m 
  51.  m y 
  52.  d/m 
  53.  m/y 
  54.  d.m 
  55.  m.y 
  56.  m Y a 
  57.  m/Y a 
  58.  m.Y a 
  59.  D M 
  60.  M D 
  61.  M y 
  62.  M Y a 
  63. ]
  64.  
  65. ; Each line specifies the name of days 1..31
  66. ; Note that the first match is accepted, so no id must be a leading substring of any later id
  67.  
  68. [ Days
  69. 1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th 18th 19th 20th 21st 22nd 23rd 24th 25th 26th 27th 28th 29th 30th 31st
  70. ]
  71.  
  72. ; Each line specifies the names of months 1..12
  73. ; Note that the longer versions of each alias must come before any shorter ones
  74.  
  75. [ Months
  76. January February March April May June July August September October November December
  77. Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
  78. ]
  79.  
  80. ; Each line specifies the names for:
  81. ;       AD (Anno Domini) - positive year number
  82. ;       BC (Before Christ) - negative year number
  83.  
  84. [ AD/BC
  85. AD BC
  86. ]
  87.  
  88.